import { Button } from "antd";
import { Fragment } from "react";
import { useNavigate } from "react-router";
import navigateUtil from "../../util/navigateUtil";

function DashBoard() {
  const navigate = useNavigate();
  return (
    <Fragment>
      <h3>看板大屏内容</h3>
      <Button onClick={() => navigateUtil.toPath(navigate, '柱状图')}>antd图表</Button>
    </Fragment>
  )
}

export default DashBoard;